package com.his.mapper;

import com.his.entity.CaseHistory;
import com.his.entity.Patient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.his.entity.Registration;

import java.util.List;

/**
 * <p>
 * 病人基本信息表 Mapper 接口
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
public interface PatientMapper extends BaseMapper<Patient> {
    List<Patient> selectPatientByIdNo(String identificationNo);
    List<Patient> selectAllPatient();
    Registration  selectRegistrationById(Long id);
    void updateDiagnosisStatus(Registration registration);
    List<CaseHistory> selectCaseHistoryByPatient(Long registrationid);
}
